h1 {
    font-size: 24px;
    margin-bottom: 20px;
    color: #333;
  }

  #searchForm {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    max-width: 400px;
    padding: 10px;
  }

  #searchInput {
    width: 50%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    margin-bottom: 10px;
  }

  #loading-spinner {
    display: none;
    border: 4px solid rgba(0, 0, 0, 0.3);
    border-top: 4px solid #3498db;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    animation: spin 1s linear infinite;
  }

  .card {
    width: 100%;
    max-width: 650px; /* Adjust max width as needed */
    background-color: #fff;
    border: 1px solid #ccc;
    border-radius: 4px;
    padding: 20px;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.2);
  }

  #definitionTitle {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 10px;
    color: #333;
  }

  #definitionList {
    list-style-type: none;
    padding: 0;
  }

  .partOfSpeechTitle {
    font-weight: bold;
    margin-top: 10px;
    color: #444;
  }

  .phonetics-item {
    display: flex;
    align-items: center;
    margin-top: 5px;
    color: #555;
  }

  audio {
    margin-left: 10px;
  }

  button {
    padding: 10px 20px;
    font-size: 16px;
    border: none;
    border-radius: 4px;
    margin-right: 10px;
    cursor: pointer;
    background-color: #3498db;
    color: #fff;
    transition: background-color 0.3s;
  }

  button:hover {
    background-color: #2980b9;
  }

  @keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
  }

  /* Responsive design adjustments */
  @media screen and (max-width:800x) {
    .card {
      padding: 10px;
    }
  }
